Am I not excluding hidden folders with this?
openDialog.
setFilter(QDir::Dirs |
QDir::Files);
htmlFile = openDialog.getOpenFileName(
this,
tr("Open html file"),
rutaCargarSetting,
tr("*.html *.htm")
);
QFileDialog openDialog;
openDialog.setFilter(QDir::Dirs | QDir::Files);
htmlFile = openDialog.getOpenFileName(
this,
tr("Open html file"),
rutaCargarSetting,
tr("*.html *.htm")
);
To copy to clipboard, switch view to plain text mode
Doesn't seem to work. I also tried something like:
htmlFile = openDialog.getOpenFileName(
this,
tr("Open html file"),
rutaCargarSetting,
tr("*.html *.htm"),
);
htmlFile = openDialog.getOpenFileName(
this,
tr("Open html file"),
rutaCargarSetting,
tr("*.html *.htm"),
QDir::Dirs & QDir::Files
);
To copy to clipboard, switch view to plain text mode
Doesn't work either.
Bookmarks